/**
 * Project Name:bts-manage-api
 * File Name:PageRequest.java
 * Package Name:cn.easysw.bts.manage.api.request
 * Date:2018年6月15日上午11:02:26
 * Copyright (c) 2018, www.windo-soft.com All Rights Reserved.
 */

package ink.tiptop.common.domain.req;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

@Getter
@Setter
public class DelRequest implements Serializable {

    private static final long serialVersionUID = 6558381448114037252L;
    /**
     * 需要删除的数据的主键,这里用String统一接收,
     * 如果后面是Integer就转换一下
     */
    @JsonProperty("IDS")
    @NotEmpty(message = "批量删除的ID不能为空")
    private List<String> id;


}

